#include "reg24le1.h"
#ifndef _COMP_H__
#define _COMP_H__

#define LED  P10
#define ONESTEP   50000
#define deepsleep 0x01
#define timeroff  0x02
#define timeron   0x03
#define retention 0x04
#define standby	  0x07

void compcof();
void lightled();
void io_config();
void delay(unsigned char x);
void mcufallasleep(char which);
void puts( char *  s);
void t0_init();
void getwakeuptype();
void putchar( unsigned char dat);
void uart_init();

#endif